package com.shzq.pojo;

import lombok.Data;

/**
 * @author zml
 * time: 2020/5/7 16:05
 * mailbox  zmlelselove@126.com
 */
@Data
public class ResultDTO {

    private String message;
    private String type;
    private Integer statusCode;

    public static final Integer WITH_OUT_LOGIN = 0;
    public static final Integer SUCCESS = 1;
    public ResultDTO() {
    }

    public ResultDTO(String message, String type) {
        this.message = message;
        this.type = type;
    }

    public ResultDTO(String message, String type, Integer statusCode) {
        this.message = message;
        this.type = type;
        this.statusCode = statusCode;
    }
}
